package com.sunlands.zlcx.usercenter.vo.feign;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import java.util.Date;

/**
 * @author zhangxiaobin
 * @title: TzUserBlacklist
 * @description: TODO
 * @date 2019/6/1014:16
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Entity
@JsonSerialize
@ApiModel(value = "黑名单信息表")
public class TzUserBlacklist {

    @Id
    @GeneratedValue
    @ApiModelProperty(value = "不需要关注，忽略")
    private Long id;

    private Long userId;

    private Long friendsUserId;

    private Long oprationUserId;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;

}
